package com.cal.utms.entity;

import java.io.Serializable;

import javax.persistence.*;

import java.util.Date;

/**
 * The persistent class for the holiday_calendar database table.
 * 
 */
@Entity
@Table(name = "holiday_calendar")
@NamedQuery(name = "HolidayCalendar.findAll", query = "SELECT h FROM HolidayCalendar h")
public class HolidayCalendar implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name = "BANK")
	private boolean bank;

	@Id
	@Column(name = "DATE")
	@Temporal(TemporalType.DATE)
	private Date date;

	@Column(name = "DESCRIPTION")
	private String description;

	@Column(name = "MERCANTILE")
	private boolean mercantile;

	@Column(name = "PUBLIC")
	private boolean public_;

	public HolidayCalendar() {
	}

	public boolean getBank() {
		return this.bank;
	}

	public void setBank(boolean bank) {
		this.bank = bank;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean getMercantile() {
		return this.mercantile;
	}

	public void setMercantile(boolean mercantile) {
		this.mercantile = mercantile;
	}

	public boolean getPublic_() {
		return this.public_;
	}

	public void setPublic_(boolean public_) {
		this.public_ = public_;
	}

}